package com.example.dblianxiwj.entity;

public class Diary {
	private Integer id;
	private String title;
	private String content;
	private String datetime;
	private int picnum;
	
	public int getPicnum() {
		return picnum;
	}
	public void setPicnum(int picnum) {
		this.picnum = picnum;
	}
	public Diary( String title, String content, String datetime,int picnum) {
		super();
		this.title = title;
		this.content = content;
		this.datetime = datetime;
		this.picnum=picnum;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDatetime() {
		return datetime;
	}
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	

}
